/*
 * COMP6471 Project1
 *  
 * This file is created by Yuan Tao (ewan.msn@gmail.com)
 * Licensed under GNU GPL v3
 * 
 * $Author: ewan.msn@gmail.com $
 * $Date: 2011-09-29 04:33:55 +0000 (Thu, 29 Sep 2011) $
 * $Rev: 21 $
 * $HeadURL: http://comp6471.googlecode.com/svn/Project1/src/kklib/InputLoaderTest.java $
 * 
 */

package kklib;

import static org.junit.Assert.*;

import org.junit.Before;
import org.junit.Test;

public class InputLoaderTest {
	private InputLoader loader;
	private Layout layout;

	@Before
	public void setUp() throws Exception {
		loader = new InputLoader();
		layout = new Layout();
	}

	@Test
	public void testLoadTextFile() {
		int ret = loader.loadTextFile("C:\\AbsolutelyDoesNotExist.file", layout);
		assertEquals(-1, ret);
		// TODO: more cases
	}

	@Test
	public void testFileDataParser() {
		// TODO: 
		fail("Not yet implemented");
	}

}
